<?php

namespace Tasker\Models\Calendar;

class Day extends \Nette\Object
{

	public $date;
	public $events = array();
	public $isWeekend = false;

	public function __construct($date, $events)
	{
		$this->date = $date;
		$this->events = $events;
		$dayOfWeek = date('N', $date);
		if ($dayOfWeek == 6 || $dayOfWeek == 7)
		{
			$this->isWeekend = true;
		}
	}

	public function addEvent()
	{

	}

}
